﻿using UnityEngine;
using System.Collections;

public class fortify : SummonerSpell {
	
	// Use this for initialization
	void Start () {
		initializeStuff();
		initializeSummonerSpellStuff();
		forAllies = true;
		forNexus = true;
		cardName = "Fortify";
		cardDescription = "Allied Nexus cannot take damage during your opponenets next turn.";
	}
	
	public override void playSpell(Nexus nexus){
		nexus.numTurnsFortified = 2;
		base.playSpell(nexus);
	}
	
	public override float evaluateSummonerSpell(Nexus nexus){
		if(nexus.Health < 35 && (nexus.numTurnsFortified == 0))
			return 100;
		return 0;
	}
}
